import request from '@/utils/request'

// 查询投后跟踪列表
export function listDealAfterTrack(query) {
  return request({
    url: '/track/dealAfterTrack/list',
    method: 'get',
    params: query
  })
}

// 查询投后跟踪详细
export function getDealAfterTrack(id) {
  return request({
    url: '/track/dealAfterTrack/' + id,
    method: 'get'
  })
}

// 保存投后跟踪
export function saveDealAfterTrack(data) {
  return request({
    url: '/track/dealAfterTrack/save',
    method: 'post',
    data: data
  })
}

// 删除投后跟踪
export function delDealAfterTrack(id) {
  return request({
    url: '/track/dealAfterTrack/' + id,
    method: 'delete'
  })
}

// 导出投后跟踪
export function exportDealAfterTrack(query) {
  return request({
    url: '/track/dealAfterTrack/export',
    method: 'get',
    params: query
  })
}
